const {readFile} = require("fs")

readFile("test.txt",(err,data) => {
    if(!err){
        data = data.toString()
        console.log(JSON.parse(data))
    }
})